package com.cctc.rds.raft.core.log;

/**
 * 日志条目操作接口。
 */
public interface LogService {
    Log peek();

    Log index(long index);

    Log[] range(long startIndex, long endIndex);

    void append(Log log);

    void update(Log log);

    void remove(long startIndex, long endIndex);
}
